<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-size: 1.8vh;
        }
        body{
            width: 100vw;
            height: 100vh;
            background-color: #f7f7f7;
        }
        .cont{
            width: 100vw;
            height: 100vh;
        }
        .header{
            width: 100vw;
            height: 5vh;
            background-color: white;
            border-bottom: 1px solid #e5e5e5;
        }
        .header div{
            float: left;
        }
        .header div:first-child{
            position: absolute;
            width: 10vw;
            height: 5vh;
            text-align: center;
            line-height: 5vh;
        }
        .header div:last-child{
            width: 100vw;
            text-align: center;
            line-height: 5vh;
            font-size: 5vw;
        }
        .location{
            list-style: none;
            width: 100vw;
            height: 5vh;
            background-color: white;
        }
        .location li{
            float: left;
            width: 25vw;
            text-align: center;
            line-height: 5vh;
            color: gray;
        }
        .location li span{
            display: inline-block;
            height: 5vh;
        }
        .location li:first-child span{
            color: red;
            border-bottom: 3px solid red;
        }
        .tbody{
            position: relative;
            width: 100vw;
            overflow: hidden;
            padding: 0 3vw;
        }
        .tbody1{
            margin-top: 3vw;
            width: 94vw;
            height: 23vh;
            background-color: white;
            border-radius: 1vh;
            overflow: hidden;
        }
        .tbody1>div:first-child{
            display: flex;
            margin: 1vh 2vh;
            justify-content: space-between;
        }
        .tbody1>div:first-child>p>span{
            color: gray;
        }
        .tbody1>div:first-child>p>span:first-child{
            padding-right: 1vh;
            border-right: 2px solid gray;
            margin-right: 1vh;
        }
        .tbody1>div:nth-child(2){
            display: flex;
            margin: 1vh 2vh;
        }
        .tbody1>div:nth-child(2)>img{
            width: 15vw;
            height: 7.5vh;
            margin-right: 1vh;
        }
        .tbody1>div:nth-child(2)>p:nth-child(2){
            width: 62vw;
            height: 5vh;
            word-wrap: break-word;
            margin-top: 1vh;
            margin-right: 1vh;
            overflow: hidden;
        }
        .tbody1>div:nth-child(2)>p:nth-child(3){
            height: 5vh;
            line-height: 5vh;
            margin-top: 1vh;
        }
        .tbody1>p:nth-child(3){
            width: 94vw;
            text-align: right;
            height: 4vh;
            padding-right: 2vh;
            border-bottom: 1px solid #e5e5e5;
        }
        .tbody1>p:nth-child(3)>span{
            font-weight: bolder;
        }
        .tbody1>button{
            float: right;
            margin-top: 1vh;
            margin-right: 2vh;
            border-radius: 5vh;
            width: 25vw;
            height: 4vh;
            background-color: red;
            color: white;
            border: none;
        }
        .shanchu{
            display: none;
            position: absolute;
            top: 50%;
            left: 50%;
            margin-top: -10vh;
            margin-left: -25vw;
            border-radius: 1vh;
            width: 50vw;
            height: 12vh;
            background-color: pink;
        }
        .shanchu p{
            text-align: center;
            margin-top: 2vh;
        }
        .shanchu p button{
            width: 20vw;
            height: 3vh;
            border-radius: 1vh;
            margin-right: 1vh;
        }
    </style>
</head>
<body>
    <div class="cont">
        <div class="header">
            <div onclick="fh()">⬅</div>
            <div>我的订单</div>
        </div>
        <ul class="location">
            <li onclick="qh(0)"><span class="dh">全部</span></li>
            <li onclick="qh(1)"><span class="dh">待付款</span></li>
            <li onclick="qh(2)"><span class="dh">待收货</span></li>
            <li onclick="qh(3)"><span class="dh">已完成</span></li>
        </ul>
        <div class="tbody">
            <div class="tbody1">
                <div>
                    <p>京喜自营官方店></p>
                    <p onclick="sc()"><span class="jinD">完成</span><span>删除</span></p>
                </div>
                <div>
                    <img src="" alt="">
                    <p>sdkkadjskajkdjksajkdjkdajksjkdjakdjdkdasdadasdasdassdasfdsafafssss</p>
                    <p>x1</p>
                </div>
                <p>实付<span>￥0.01</span></p>
                <button>再次购买</button>
            </div>
            <div class="tbody1">
                <div>
                    <p>京喜自营官方店></p>
                    <p onclick="sc()"><span class="jinD">完成</span><span>删除</span></p>
                </div>
                <div>
                    <img src="" alt="">
                    <p>sdkkadjskajkdjksajkdjkdajksjkdjakdjdkdasdadasdasdassdasfdsafafssss</p>
                    <p>x1</p>
                </div>
                <p>实付<span>￥0.01</span></p>
                <button>再次购买</button>
            </div>
            <div class="tbody1">
                <div>
                    <p>京喜自营官方店></p>
                    <p onclick="sc()"><span class="jinD">完成</span><span>删除</span></p>
                </div>
                <div>
                    <img src="" alt="">
                    <p>sdkkadjskajkdjksajkdjkdajksjkdjakdjdkdasdadasdasdassdasfdsafafssss</p>
                    <p>x1</p>
                </div>
                <p>实付<span>￥0.01</span></p>
                <button>再次购买</button>
            </div>
        </div>
    </div>
    <div class="shanchu">
        <p>是否确定要删除该订单记录</p>
        <p><button onclick="qd()">确定</button><button onclick="qx()">取消</button></p>
    </div>
    <script src="./dingD.js"></script>
</body>
</html>